Skip to content

skip codecov upload on Dependabot PRs#1425

Merged
shravanngoswamii merged 1 commit into
TuringLang:mainfrom
shravangoswami-bot:patch-codecov-dependabot
Jun 11, 2026
Merged

skip codecov upload on Dependabot PRs#1425
shravanngoswamii merged 1 commit into
TuringLang:mainfrom
shravangoswami-bot:patch-codecov-dependabot

Conversation

@shravangoswami-bot

Copy link
Copy Markdown
Contributor

Dependabot PRs run in a sandboxed environment without access to repository secrets, so CODECOV_TOKEN is unavailable and the codecov upload fails with:

Upload queued for processing failed: {"message":"Token required because branch is protected"}

This adds if: github.actor != 'dependabot[bot]' to each codecov/codecov-action step so the upload is skipped for Dependabot PRs. No coverage changes are expected from dependency bumps, so this is safe.

Automated by dependabot-config-bot.

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.58%. Comparing base (173defb) to head (9d34da4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1425   +/-   ##
=======================================
  Coverage   81.58%   81.58%           
=======================================
  Files          50       50           
  Lines        3578     3578           
=======================================
  Hits         2919     2919           
  Misses        659      659           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@shravanngoswamii

Copy link
Copy Markdown
Member

Aha, this one here also require a fix for commenting benchmarks. Seems like adding Codecov token for dependabot will help here.

@shravanngoswamii shravanngoswamii merged commit b310eec into TuringLang:main Jun 11, 2026
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants